package com.itdao.dp.strategy.account.holder;

import com.itdao.dp.strategy.account.behavior.login.ILoginService;
import com.itdao.dp.strategy.account.behavior.register.IRegisterService;
import com.itdao.dp.strategy.account.behavior.reset.IResetService;

public abstract class Account {
    protected ILoginService loginService;
    protected IRegisterService registerService;
    protected IResetService resetService;

    public void login(String username, String password) {
        loginService.login(username, password);
    }

    public void register(String username, String password) {
        registerService.register(username, password);
    }

    public void reset(String username, String password) {
        resetService.reset(username, password);
    }
}
